home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 523 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: phoenix.rhein.de!yaps!arno
  2. From: arno@yaps.rhein.de (Arno Eigenwillig)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: PPC compilers
  5. Message-ID: <OWhVx*42f@yaps.rhein.de>
  6. Date: Mon, 08 Jan 1996 18:08:50 +0100
  7. References: <john.hendrikx.40ka@grafix.xs4all.nl> <MQAQx*XOe@yaps.rhein.de>
  8.  <4bqhnf$6g5@sunsystem5.informatik.tu-muenchen.de> <jasonb.820051107@cs.uwa.edu.au>
  9.  <4c9i2l$h3i@sunsystem5.informatik.tu-muenchen.de> <4ck47h$g07@maureen.teleport.com>
  10.  <19960106.4EE928.CF59@sisyphus.demon.co.uk> <4cokkg$415@maureen.teleport.com>
  11. Organization: Yet Another Private Site in Meckenheim, Germany
  12. X-Copyright: This article may not be distributed on a CD-ROM
  13.  or in printed form without prior written consent of the author.
  14. X-Newsreader: Arn V 1.04
  15.  
  16. In article <4cokkg$415@maureen.teleport.com>, Stephan Schaem writes:
  17.  
  18. >  So you do math operation without knowing that your destination need to 
  19. >  be a float or a 2 byte int? 
  20.  
  21. Why don't you read what he wrote? A reasonable example for that would
  22. be operations on clock_t.
  23.  
  24. >  So you created a structure to hold clock value with ulong? now recompile
  25. >  this on the system using a clock size of 64bit... where did the upper
  26. >  32bit goes... you know have code that is broken.
  27.  
  28. Why don't you read what he wrote? You use clock_t and treat it as a
  29. 'black box'. As you never name the underlying type, you are fully
  30. portable.
  31.  
  32. >  It could be done in a macro assembler by 'tydefing' instruction size.
  33.  
  34. Name an existing assembler that allows such things.
  35.  
  36. -- __
  37. __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
  38. \XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
  39.